//
//  ALPS_CarouselFigureTool.h
//  Alps
//
//  Created by dllo on 16/6/6.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ALPS_FocusModel.h"

typedef void(^imageClickBlock)(NSInteger index);
@interface ALPS_CarouselFigureTool : UIView
/** 轮播的ScrollView */
@property(strong,nonatomic) UIScrollView * direct;
/** 轮播的时间 */
@property(assign,nonatomic) CGFloat time;

+(instancetype)direcWithtFrame:(CGRect)frame //坐标
                      ImageArr:(NSArray *)imageNameArray //图片数组
            AndImageClickBlock:(imageClickBlock)clickBlock; // 点击事件的Block回调
//开始定时器
-(void)beginTimer;

//销毁定时器
-(void)stopTimer;
@end
